<body>
	<div id="wrapper" style="width:500px">

	<?php
		$formAttribute = array('class' => 'centertext', 'method' => 'post');
		echo $heading;
		echo form_open('login/index', $formAttribute);
		echo "Username: ", form_input('username'), "<br />";
		echo "Password:&nbsp; ", form_password('password'), "<br /><br />";
		echo form_submit('submit', 'Login');
		echo form_close();
		
		echo form_error('username');
		echo form_error('password');
		
		echo $NoName;
		?>
	</div>
</body>
</html>